package com.jk.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class User {

    private Integer userId;

    private String userAccout;

    private String userPwd;

    private String nickName;

    private Integer userAge;

    private Integer userSex;

    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8") //返回给前台的格式
    @DateTimeFormat(pattern="yyyy-MM-dd")//接收前台的格式
    private Date addTime;
    @DateTimeFormat(pattern="yyyy-MM-dd")//接收前台的格式
    private Date vipdate;

    private Integer grade;
    private Integer bzid;
    private String bzname;

    private Integer state=1;
    private Integer hy;
    private Integer jifen;


    private String img;

    private String phone;

    private Integer status;

    private Integer check;

}
